﻿//using System;
//using System.Collections.Generic;
//using System.Text;

//namespace DCRF.Common.Distribution
//{
//    public delegate void OnDataReceivedDelegate(ISimpleSocket sender, byte[] data);

//    public interface ISimpleSocket: IDisposable
//    {
//        event OnDataReceivedDelegate DataReceived;

//        void Bind(string address);
//        void Connect(string address);
//        void Send(byte[] data);
//    }
//}
